{% extends "root_base.html" %}{% block content_root_base %}<p><strong>删除评论</strong></p><table border="0" width="100%">
	<tr><td><strong>ID</strong></td><td><strong>发表时间</strong></td>
	<td><strong>作者昵称</strong></td><td><strong>所属文章</strong></td>
	<td><strong>内容摘要</strong></td><td align="right"><strong>删除</strong></td></tr>
	{% for comment in comments %}
		<tr><td>{{ comment.key.id }}</td><td>{{ comment.time_date|date:"H时i分s秒 m月d日 Y年" }}</td>
		<td>{{ comment.nickname }}</td>
		<td>《<a href="/{{ comment.article.key.id }}_article.html">{{ comment.article.title }}</a>》</td>
		<td>{{ comment.content }}</td>
		<td align="right"><form action="" method="post">
		<input type="hidden" value="{{ comment.key }}" name="comment_key_hidden" />
		<input type="submit" onclick="return confirm('确定要删除吗？');" value="删除" /></form></td></tr>
	{% endfor %}
</table>
<div id="daohang_managepost_root_base">
	{% if pre_page %}
		<div class="float_left sided"><a href="?b={{ pre_page.key.id }}">上一页</a></div>
	{% endif %}
	{% if next_page %}
		<div class="float_right sided"><a href="?b={{ next_page.key.id }}">下一页</a></div>
	{% endif %}
</div>
{% endblock %}
